package com.findMoneyGame.server {
	import com.findMoneyGame.models.UserData;

	public interface IServerFacade {
		function get imageBytesTotal () : int;
		function get imageBytesLoaded () : int;
		function get bytesTotal () : int;
		function get bytesLoaded () : int;

		function beginLoadImage (url : String, complete : Function, error : Function);
		function beginCheckUserExists (id : int, complete : Function, error : Function);
		function beginCreateNewUser (id : int, complete : Function, error : Function);
		function beginFetchUserData (id : int, complete : Function, error : Function);
		function beginSaveUserData (savingData : UserData, complete : Function, error : Function);
		function beginFetchGameLevel (level : int, complete : Function, error : Function);
	}
}